package com.wh.order.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.time.LocalDateTime;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.entity.enmus.ExcelType;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 实体类：
 */
@Data
@Accessors(chain = true)
public class OrderProducid implements Serializable {

    private Integer id;
    private String orderSn;

    private Integer productId;
    @TableField(exist = false)
    @Excel(name = "产品名称",width = 15)
    private String productName;
    @TableField(exist = false)
    @Excel(name = "产品图片",type = 2, width = 20, height = 20)
    private String picture;
    @Excel(name = "下单数量",width = 15)
    private Integer orderNum;
    @Excel(name = "成交价",width = 15,suffix = "元")
    private BigDecimal salePrice;
    @Excel(name = "订单金额",width = 15,suffix = "元")
    private BigDecimal orderAmount;



}
